﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BackupLibrary
{
    public class BackupEventArgs : EventArgs
    {
        public int TotalFileCount { get; set; }
        public int ActualFileIndex { get; set; }
        
        public string ActualFilename { get; set; }

        public int ActualFilesize { get; set; }
        public int ActualCopiedSize { get; set; }

        public string SourcePath { get; set; }

        public BackupEventArgs(int TotalFileCount, int ActualFileIndex, string ActualFilename, int ActualFilesize, int ActualCopiedSize, string SourcePath)
        {
            this.TotalFileCount = TotalFileCount;
            this.ActualFileIndex = ActualFileIndex;
            this.ActualFilename = ActualFilename;
            this.ActualFilesize = ActualFilesize;
            this.ActualCopiedSize = ActualCopiedSize;
            this.SourcePath = SourcePath;
        }
    }

    public enum BackupState
    {
        NoChanges,
        Canceled,
        OK,
        Error
    }
}
